#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
int main()
{
	int temp[4] = { 0 };
	int str1[4] = { 1,2,3,4 };
	int str2[4] = { 5,6,7,8 };
	for (int i = 0; i <= 3; i++)
	{
		temp[i] = str1[i];
		str1[i] = str2[i];
		str2[i] = temp[i];
	}
	for (int j = 0; j <= 3; j++)
	{
		printf("str1[%d]=%d\tstr2[%d]=%d\n",j, str1[j],j,str2[j]);
	}

		return 0;
}